﻿@{
    ViewBag.Title = "Manage Users";
}

<h2>Admin Panel | Manage Users</h2>
@Html.ActionLink("Manage Roles", "Index")  | @Html.ActionLink("Manage User Roles", "ManageUserRoles") | @Html.ActionLink("Manage Users", "ManageUsers", "", new { style = "font-weight:bold;" })
<hr />

@Html.ActionLink("Add New User", "CreateUser") 
<br />

<h2>Users:</h2>

@using (Html.BeginForm("ManageUser", "Admin"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <p>
        Get userinfo from: @Html.DropDownList("Email", (IEnumerable<SelectListItem>)ViewBag.Users, "Select user ...")
    </p>

    <input type="submit" value="Save" />
}


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
